import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class Main{
public static void main(String[] args) {
    //1.加载驱动
     try {
         Class.forName(className:"com.mysql.jdbc.Driver");
         //2.创建连接
         String url = "jdbc:mysql://127.0.0.1:3306/jdbc?characterEncoding=utf-8";
         Conne
